#ifndef WF_MODIFYDELETEQUICK_H
#define WF_MODIFYDELETEQUICK_H

#include "pf_actioninterface.h"
#include "gui_export.h"

/**
 * This action class can handle user events to delete entities
 * directly (every click removes an entity).
 *
 */
class GUI_EXPORT WF_ModifyDeleteQuick : public PF_ActionInterface {
	Q_OBJECT
public:
    WF_ModifyDeleteQuick(PF_Container& container,
                               PF_GraphicView& graphicView);
    ~WF_ModifyDeleteQuick() {}

	static QAction* createGUIAction(LX_Define::ActionType /*type*/, QObject* parent);

    virtual void trigger();
    virtual void mouseReleaseEvent(PF_MouseEvent* e);
    virtual void updateMouseButtonHints();
    virtual void updateMouseCursor();

private:
    PF_Entity* en;
};

#endif
